import { query, remove } from "src/controllers/snapshot";

export default function (router: Router, callback: Function) {
  // 删
  router.post("/snapshot/remove", callback(remove));

  // 查
  router.get("/snapshot/query", callback(query));
}
